<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .box{margin:10px;padding:10px;border:solid 1px black;}
        .box1{width:300px;height:300px;background: red;}
        .box2{width:200px;height:200px;background: green;}
        .box3{width:100px;height:100px;background: blue;}
    </style>
</head>
<body>
    <div class="app">
        <input type="text" v-model.lazy="msg">
        {{msg}}
        <br>
        
        <input type="text" v-model.number="num">
        {{num}} - {{typeof num}}
        <br>
        
        <input type="text" v-model.trim="str">
        {{str}} - {{str.length}}
        <br>
    </div>
</body>
<script src="../vue.global.js"></script>
<script>
    Vue.createApp({
        data(){
            return {
                msg: "hello",
                num: 123,
                str: ""
            }
        }
    }).mount(".app");
</script>
</html>